Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2109 closed defect (fixed)

ST_Centroid gives POLYGON EMPTY on POLYGON EMPTY input

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.2
Component: postgis Version: 2.0.x
Keywords: history Cc:

Description

Should always give a POINT instead (even if EMPTY)

Change History (4)

comment:1 by robe, 12 years ago

Milestone: PostGIS 2.0.2PostGIS 2.0.3

comment:2 by strk, 12 years ago

Interestingly, it used to crash 2 years ago: #684

comment:3 by strk, 12 years ago

Milestone: PostGIS 2.0.3PostGIS 2.0.2
Resolution: fixed
Status: newclosed

Fixed by r10751 in trunk, r10752 in 2.0 branch

comment:4 by strk, 12 years ago

Keywords: history added
Note: See TracTickets for help on using tickets.